﻿using jinmaMesProxy.DataAccess;

namespace jinmaMesProxy.Model
{
    [MyTableName("V_UDF_MD_MATERIAL")]
    public class Material
    {
        [MyColumnName("cInvCode")]
        public string MaterialCode { get; set; }
        [MyColumnName("cInvName")]
        public string MaterialName { get; set; }
        [MyColumnName("dModifyDate")]
        public string ModifyDate { get; set; }
        [MyColumnName("cInvStd")]
        public string MaterialSpec { get; set; }
        [MyColumnName("cComUnitName")]
        public string Unit { get; set; }
        [MyColumnName("cDefWareHouse")]
        public string Warehouse { get; set; }
        [MyColumnName("bFree1")]
        public bool Free1 { get; set; }
        [MyColumnName("bFree2")]
        public bool Free2 { get; set; }
        [MyColumnName("bFree3")]
        public bool Free3 { get; set; }
        [MyColumnName("bFree4")]
        public bool Free4 { get; set; }
        [MyColumnName("bFree5")]
        public bool Free5 { get; set; }
        [MyColumnName("bFree6")]
        public bool Free6 { get; set; }
        [MyColumnName("bFree7")]
        public bool Free7 { get; set; }
        [MyColumnName("bFree8")]
        public bool Free8 { get; set; }
        [MyColumnName("bFree9")]
        public bool Free9 { get; set; }
        [MyColumnName("bFree10")]
        public bool Free10 { get; set; }
    }
}
